package examples;

import java.util.Calendar;
import java.util.GregorianCalendar;
import java.util.Scanner;

public class Eg2 {
    public static void main(String[] args) {
        String input;
        String[] result;
        Scanner scanner=new Scanner(System.in);
        System.out.println("START");
        input=scanner.nextLine();
        System.out.println(input);
        System.out.println(input.trim());
        result=input.split(input);
        for(String s:result){
            System.out.println(s);
        }
        System.out.println();
        input=scanner.next();
        System.out.println(input);
        Calendar calendar=new GregorianCalendar();
        System.out.println(calendar.getTime().getTime());
        Student student=new Student();
        student.action("sleeping");
        input="A";
        input.toLowerCase();

    }
}
class Student {
    void action(String s){
        System.out.print("I am ");
        System.out.println(s);
    }
}
